<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script>
      function Father(uname, age) {
        this.uname = uname;
        this.age = age;
      }
      function Son(uname, age) {
        Father.call(this, uname, age);
        this.score = score;
      }
      var son = new Son("刘德华", 18, 100);
      console.log(son);
    </script>
  </head>
  <body></body>
</html>
